package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleBook;
import com.caigou.pojo.ArticleBookData;
import org.apache.ibatis.annotations.Param;

public interface ArticleBookMapper {
    int saveArticleBookData(ArticleBook articleBook);

    ArticleBookData loadArticleBookData(@Param("articleId") String articleId);

    int updateArticleBookData(ArticleBook articleBook);

    int deleteArticleBookByArticleId(@Param("articleId") String articleId);

    ArticleBook loadArticleBook(@Param("articleId") String articleId);
}
